projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28d624b
)
ti: common: board_detect: Setup initial default value for config as well
author
Nishanth Menon
<
[email protected]
>
Tue, 11 Oct 2016 17:39:04 +0000
(12:39 -0500)
committer
Tom Rini
<
[email protected]
>
Mon, 31 Oct 2016 14:04:21 +0000
(10:04 -0400)
config should have been initialized along with others as defaults.
Signed-off-by: Nishanth Menon <
[email protected]
>
Reviewed-by: Lokesh Vutla <
[email protected]
>
Reviewed-by: Tom Rini <
[email protected]
>
board/ti/common/board_detect.c
patch
|
blob
|
history
diff --git
a/board/ti/common/board_detect.c
b/board/ti/common/board_detect.c
index 7c552d20656adcfc08d5d88fb7e91377f3dc8ca4..13aac2f03037bdd70ba7efee736ffb12cf72e86e 100644
(file)
--- a/
board/ti/common/board_detect.c
+++ b/
board/ti/common/board_detect.c
@@
-131,6
+131,7
@@
int __maybe_unused ti_i2c_eeprom_am_get(int bus_addr, int dev_addr)
ep->name[0] = 0x0;
ep->version[0] = 0x0;
ep->serial[0] = 0x0;
+ ep->config[0] = 0x0;
rc = ti_i2c_eeprom_get(bus_addr, dev_addr, TI_EEPROM_HEADER_MAGIC,
sizeof(am_ep), (uint8_t *)&am_ep);
@@
-175,6
+176,7
@@
int __maybe_unused ti_i2c_eeprom_dra7_get(int bus_addr, int dev_addr)
ep->name[0] = 0x0;
ep->version[0] = 0x0;
ep->serial[0] = 0x0;
+ ep->config[0] = 0x0;
ep->emif1_size = 0;
ep->emif2_size = 0;